//
//  PopView.h
//  copyrightTrading
//
//  Created by 郭子一 on 2020/10/8.
//  Copyright © 2020 郭子一. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, PopViewType) {
    ///人脸
    KFaceType,
    ///视频
    KVideoType,
    ///图片
    KPictureType,
    ///申诉
    KComplainType
};

@protocol PopViewDelegate <NSObject>


- (void)PopViewEnsureClickWithType:(PopViewType)type content:(NSString *)content;

@optional
- (void)tapImgChooseSourceType:(NSInteger)sourctType; // 1图片 2视频
@end

@interface PopView : UIView

@property (nonatomic, weak) id<PopViewDelegate> delegate;

@property (nonatomic, assign) PopViewType popViewType;

- (instancetype)initWithStyle:(PopViewType)popViewType;

@property (nonatomic, strong) UIImageView *img;
@property (nonatomic, strong) UILabel *contentLab;
@end

NS_ASSUME_NONNULL_END
